<template>
  <div>
    <button @click="fiflter">11</button>
    <button @click="symbol">symbol</button>
  </div>
</template>


<script>
export default {
    data() {
        return {
          list:[1, 2, 3, 3,3,"school","school",'ball',false,false,true,true]
        };
    },
    methods: {
      fiflter(){
        console.log(...new Set(this.list))
      },
      symbol(){
        // let s1 = Symbol('foo');
        // let s2 = Symbol('bar');
        // console.log(s1.toString() )// "Symbol(foo)"
        // console.log(s2.toString() ) // "Symbol(bar)"
        var a = [];
        for (let i = 0; i < 10; i++) {
          a[i] = function () {
            console.log('gggg');
          };
        }
        a[6]()
      }
    }
};
</script>
